export function getLocation(jsonStr) {
  if (jsonStr) {
    const obj = JSON.parse(jsonStr)
    return {
      province: `省：${obj['province']}`,
      city: `市：${obj['city']}`
    }
  } else {
    return {
      province: `省：未填写`,
      city: `市：未填写`
    }
  }
}
